﻿using FluentValidation;
using FubuMVC.Core;

namespace complex.Controllers.Customers
{
    public class RemoveCustomerInputModelCommand
    {
        [RouteInput]
        public long Id { get; set; }
    }

    public class RemoveCustomerInputModelValidator
        : AbstractValidator<RemoveCustomerInputModelCommand>
    {
        public RemoveCustomerInputModelValidator()
        {
            RuleFor(m => m.Id).NotEmpty();
        }
    }
}